li,div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.v-timeline {
    position: relative;
}

.v-bar {
    position: absolute;
    left: 50%;
    width: .2em;
    height: 100%;
    background: #ccc;
}

.v-events {
    padding: 1em;
    overflow: hidden;
}

.v-event-wrap {
    position: relative;
    float: left;
    width: 50%;
}

.v-event {
    width: 90%;
    border: 1px solid #ccc;
    border-radius: 1em;
    box-shadow: 0 0 5px #ccc;
    padding: 0 1em;
    -webkit-transition: box-shadow 1s ease-out;
    -moz-transition: box-shadow 1s ease-out;
    -transition: box-shadow 1s ease-out;
}

.v-event-wrap:nth-child(even){
    padding: 10% 0 0 5%;
}

.v-event-wrap:before {
    content: '';
    position: absolute;
    width: 10%;
    top: 10%;
    right: 0;
    height: 0;
    border-top: 3px dashed #ccc;
}

.v-event-wrap:nth-child(even):before {
    right: initial;
    left: 0;
    top: 30%;
}

.v-event-wrap:after {
    content: '';
    position: absolute;
    width: 1em;
    top: 8.5%;
    height: 1em;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #ccc;
    right: -.5em;
}

.v-event-wrap:nth-child(even):after {
    right: initial;
    left: -.5em;
    top: 28.5%;
}

.v-event-wrap:after, .v-event-wrap:before{
    -webkit-transition: border-color 1s ease-out;
    -moz-transition: border-color 1s ease-out;
    transition: border-color 1s ease-out;
}

.v-event-wrap:hover:after, .v-event-wrap:hover:before{
    border-color: #1abc9c;
}

.v-event-wrap:hover .v-event{
    box-shadow: 0 0 20px #1abc9c;
}

@media screen and (max-width:768px) {
    .v-bar {
        left: 96.5%;
    }

    .v-event-wrap {
        width: 100%;
    }

    .v-event-wrap:nth-child(odd){
        padding: 10% 0 0 5%;
    }

    .v-event-wrap:nth-child(odd):before {
        top: 15%;
    }

    .v-event-wrap:nth-child(odd):after {
        top: 13.5%;
    }

    .v-event-wrap:nth-child(even):before {
        left: initial;
        right: 0;
        top: 15%;
    }

    .v-event-wrap:nth-child(even):after {
        left: initial;
        right: -.5em;
        top: 13.5%;
    }
}

.v-hd {
    overflow: hidden;
    padding: 1em 0;
}

.v-title {
    float: left;
    color: #16a085;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.v-time {
    float: right;
    margin-top: 1.5em;
}

.v-imgs {
    width: 100%;
    height: 15em;
    padding: 0 0 1em 0;
    margin: 0 0 1em 0;
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;/*import for inline list*/
}

.v-img-wrap {
    display: inline-block;
    height: 100%;
    margin-right: 1em;
}

.v-img-wrap:last-child {
    margin-right: 0;
}

.v-img-wrap img {
    height: 100%;
}
